Automattic\WooCommerce\Admin\Notes\Note A

Total Complexity 70
Dependencies 4
Dependents 63
Total lines 690
Lines of code 300
Logical lines of code 123
Comment lines 301
Methods 42
Properties 2

Methods 42

Method Rating Maintainability Complexity Lines of code
__construct()
S
46 6 37
add_nonce_to_action()
S
58 4 15
add_action()
S
51 3 27
set_status()
S
59 3 15
set_type()
S
59 3 15
get_action()
S
62 3 11
set_layout()
S
62 3 11
set_content()
S
54 2 22
set_date_created()
S
65 3 9
set_name()
S
70 2 6
set_date_reminder()
S
71 2 6
set_source()
S
70 2 6
set_content_data()
S
67 2 7
set_title()
S
70 2 6
set_locale()
S
70 2 6
apply_changes()
S
69 2 7
get_allowed_types()
S
64 1 12
get_actions()
S
79 1 3
get_title()
S
79 1 3
set_actions()
S
80 1 3
get_data()
S
78 1 3
set_is_read()
S
80 1 3
set_is_deleted()
S
80 1 3
set_image()
S
80 1 3
get_name()
S
79 1 3
clear_actions()
S
80 1 3
set_is_snoozable()
S
79 1 3
get_type()
S
79 1 3
get_locale()
S
79 1 3
get_content()
S
79 1 3
get_layout()
S
79 1 3
get_content_data()
S
79 1 3
get_status()
S
79 1 3
set_icon()
S
80 1 3
get_source()
S
79 1 3
get_date_created()
S
79 1 3
get_date_reminder()
S
79 1 3
get_allowed_statuses()
S
66 1 10
get_is_snoozable()
S
79 1 3
get_is_deleted()
S
79 1 3
get_image()
S
79 1 3
get_is_read()
S
79 1 3